package com.exigen.perflabstat.models;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Entity
@Table(name="PERF_TESTRESULTS")
@IdClass(TestResultsPK.class)
public class TestResults {

	@Id
	private Long TRANSACTION_ID;
	@Id
	private Long TESTSUMMARY_ID;
	private Double MAX_RESPONSE;
	private Double AVERAGE_RESPONSE;
	private Double MINIMUM_RESPONSE;
	private Double PERCENT90;
	private Double DEVIATION;
	private Double APDEX;
	private Long PASS_COUNT;
	private Long FAIL_COUNT;
	private Long STOP_COUNT;
	private Character SLA_STATUS;
	private String COMMENTS;
	
	
	public Long getTRANSACTION_ID() {
		return TRANSACTION_ID;
	}
	public void setTRANSACTION_ID(Long tRANSACTION_ID) {
		TRANSACTION_ID = tRANSACTION_ID;
	}
	public Long getTESTSUMMARY_ID() {
		return TESTSUMMARY_ID;
	}
	public void setTESTSUMMARY_ID(Long tESTSUMMARY_ID) {
		TESTSUMMARY_ID = tESTSUMMARY_ID;
	}
	public Double getMAX_RESPONSE() {
		return MAX_RESPONSE;
	}
	public void setMAX_RESPONSE(Double mAX_RESPONSE) {
		MAX_RESPONSE = (double)Math.round(mAX_RESPONSE*1000)/1000;
	}
	public Double getAVERAGE_RESPONSE() {
		return AVERAGE_RESPONSE;
	}
	public void setAVERAGE_RESPONSE(Double aVERAGE_RESPONSE) {
		AVERAGE_RESPONSE = (double)Math.round(aVERAGE_RESPONSE*1000)/1000;
	}
	public Double getMINIMUM_RESPONSE() {
		return MINIMUM_RESPONSE;
	}
	public void setMINIMUM_RESPONSE(Double mINIMUM_RESPONSE) {
		MINIMUM_RESPONSE = (double)Math.round(mINIMUM_RESPONSE*1000)/1000;
	}
	public Double getPERCENT90() {
		return PERCENT90;
	}
	public void setPERCENT90(Double pERCENT90) {
		PERCENT90 = (double)Math.round(pERCENT90*1000)/1000;
	}
	public Double getDEVIATION() {
		return DEVIATION;
	}
	public void setDEVIATION(Double dEVIATION) {
		DEVIATION = (double)Math.round(dEVIATION*1000)/1000;
	}
	public Double getAPDEX() {
		return APDEX;
	}
	public void setAPDEX(Double aPDEX) {
		APDEX = (double)Math.round(aPDEX*1000)/1000;
	}
	public Long getPASS_COUNT() {
		return PASS_COUNT;
	}
	public void setPASS_COUNT(Long pASS_COUNT) {
		PASS_COUNT = pASS_COUNT;
	}
	public Long getFAIL_COUNT() {
		return FAIL_COUNT;
	}
	public void setFAIL_COUNT(Long fAIL_COUNT) {
		FAIL_COUNT = fAIL_COUNT;
	}
	public Long getSTOP_COUNT() {
		return STOP_COUNT;
	}
	public void setSTOP_COUNT(Long sTOP_COUNT) {
		STOP_COUNT = sTOP_COUNT;
	}
	public Character getSLA_STATUS() {
		return SLA_STATUS;
	}
	public void setSLA_STATUS(Character sLA_STATUS) {
		SLA_STATUS = sLA_STATUS;
	}
	public String getCOMMENTS() {
		return COMMENTS;
	}
	public void setCOMMENTS(String cOMMENTS) {
		COMMENTS = cOMMENTS;
	}

}
